wage = float(input('您的工资为：'))
if wage > 15000:
    tax = (wage - 15000) * 0.15
elif wage > 8000:
    tax = (wage - 8000) * 0.1
elif wage > 3500:
    tax = (wage - 3500) * 0.05
# elif wage <= 0:
#     print('您就是传说中的穷逼？')
else:
    tax = 0
print('您的工资为',wage,'元，需要支付',tax,'元税')